package com.hrprojectback.dto;

public class DeptTypeInfo {
    private String TypeCode;//类型code

    private String TypeName;//类型名称

    private int pageNumber;//首页

    private int pageNum = 1;//前往的页数

    private int pageSize = 1;//每页显示的数据

    public DeptTypeInfo() {
    }

    public DeptTypeInfo(String typeCode, String typeName, int pageNumber, int pageNum, int pageSize) {
        TypeCode = typeCode;
        TypeName = typeName;
        this.pageNumber = pageNumber;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public String getTypeCode() {
        return TypeCode;
    }

    public void setTypeCode(String typeCode) {
        TypeCode = typeCode;
    }

    public String getTypeName() {
        return TypeName;
    }

    public void setTypeName(String typeName) {
        TypeName = typeName;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "DeptTypeInfo{" +
                "TypeCode='" + TypeCode + '\'' +
                ", TypeName='" + TypeName + '\'' +
                ", pageNumber=" + pageNumber +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
